From: Philip Withnall Date: Wed, 12 Jul 2017 14:04:34 +0000 (+0100) Subject: build: Ensure all experimental tests are distributed in tarballs X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~34^2~23 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=82024f161b280b4ef70880ddd5bc83ad812e6f0a;p=ostree.git build: Ensure all experimental tests are distributed in tarballs As with the previous commit, ensure that tests which are run when configured with --enable-experimental-api, are always distributed; even when running `make dist` from a source tree configured with --disable-experimental-api. Signed-off-by: Philip Withnall Closes: #1002 Approved by: cgwalters --- diff --git a/Makefile-tests.am b/Makefile-tests.am index 28e0a43a..7be2ab59 100644 --- a/Makefile-tests.am +++ b/Makefile-tests.am @@ -114,8 +114,7 @@ _installed_or_uninstalled_test_scripts = \ tests/test-summary-view.sh \ $(NULL) -if ENABLE_EXPERIMENTAL_API -_installed_or_uninstalled_test_scripts += \ +experimental_test_scripts = \ tests/test-find-remotes.sh \ tests/test-fsck-collections.sh \ tests/test-init-collections.sh \ @@ -125,6 +124,11 @@ _installed_or_uninstalled_test_scripts += \ tests/test-summary-collections.sh \ tests/test-pull-collections.sh \ $(NULL) + +if ENABLE_EXPERIMENTAL_API +_installed_or_uninstalled_test_scripts += $(experimental_test_scripts) +else +EXTRA_DIST += $(experimental_test_scripts) endif if BUILDOPT_FUSE